package com.ruoyi.aiConversation.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Value;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ai对话对象 ai_conversation
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
public class AiConversation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ai对话id */
    @Excel(name = "ai对话id")
    private String aiConversationId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    private String firstMessage;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    private String title;

    public void setAiConversationId(String aiConversationId)
    {
        this.aiConversationId = aiConversationId;
    }

    public String getAiConversationId()
    {
        return aiConversationId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public String getFirstMessage() {
        return firstMessage;
    }

    public void setFirstMessage(String firstMessage) {
        this.firstMessage = firstMessage;
    }

    @Override
    public String toString() {
        return "AiConversation{" +
                "aiConversationId='" + aiConversationId + '\'' +
                ", userId=" + userId +
                ", startTime=" + startTime +
                ", firstMessage='" + firstMessage + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
